package cn.mesmile.interview.demo;

import java.io.*;

/**
 * @author zb
 * @date 2021/11/25 21:43
 * @Description
 */
public class Deme3File {

    public static void main(String[] args) throws IOException {
        FileInputStream fileInputStream = new FileInputStream("");
        BufferedInputStream inputStream = new BufferedInputStream(fileInputStream);
        FileOutputStream fileOutputStream = new FileOutputStream("");
        BufferedOutputStream outputStream = new BufferedOutputStream(fileOutputStream);

        int size ;
        byte[] b = new byte[1024];
        while ((size = inputStream.read(b)) != -1) {
            outputStream.write(b, 0, size);
        }

        outputStream.close();
        fileOutputStream.close();
        inputStream.close();
        fileInputStream.close();
    }


}
